@layout("/common/_container.html",{js:["/assets/modular/system/advert/setAdvert.js"]}){

<style>
.layui-table-cell{
	height:auto!important;
	white-space: normal;
}
</style>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <button id="setAdvertId" class="layui-btn icon-btn"><i class="layui-icon">&#xe614;</i>设置</button>
                            </div>
                            <div class="layui-inline" style="display: none;">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="setAdvertTable" lay-filter="setAdvertTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="imgTpl">
	<img style="width:100px;height:100px" src="{{ d.url }}">
</script>
@}